package com.jintu.portal.pojo.entity.mongo;

import com.jintu.portal.config.Constant;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * @author very
 */
@Data
@Document(collection = Constant.USER_APPLY_INFO_COLLECTION)
public class ApplyInfo implements Serializable {

    @Id
    private String id;

    @Field("orderId")
    private String orderId;

    @Field("insertTimestamp")
    private Long insertTimestamp;

    @Field("orderTimestamp")
    private Long orderTimestamp;

    @Field("userInfo")
    private UserInfo userApplyInfo;

}
